New Functions in Week 7

theme_classic

{GGPLOT2}

A minimalistic theme with no gridlines

max

{base}

Get maximum of a vector

var

{stats}

Calculate variance

scale_x_continuous

{GGPLOT2}

Customise continuous x axis

min

{base}

Get minimum of a vector

median

{stats}

Get median of a vector

hist

{graphics}

Plot a simple histogram

sum

{base}

Get sum of numeric values or a vector

boxplot

{graphics}

Plot a simple box plot

labs

{GGPLOT2}

Customise labels in GGPLOT2

aes

{GGPLOT2}

Construct aesthetic mapping of a ggplot graph

summary

{base}

Obtain summary statistics or detailed regression output

range

{base}

Return range of values

ggplot

{GGPLOT2}

Create a ggplot graph

geom_histogram

{GGPLOT2}

Generates a histogram

seq

{base}

Create a sequence

sd

{stats}

Get standard deviation of a vector

The end!